<!DOCTYPE html>
<meta charset=utf-8>
<script type="application/javascript" src="chrome://mochikit/content/tests/SimpleTest/SimpleTest.js"></script>
<script>
  // Hook up the debugger statement to extract the calling script's
  // introductionType and set it in a property on the parent global.
  Components.utils.import("resource://gre/modules/jsdebugger.jsm");
  addDebuggerToGlobal(this);
  var dbg = new Debugger;
  dbg.addDebuggee(parent);
  dbg.onDebuggerStatement = function (frame) {
    parent.introType = frame.script.source.introductionType;
  }
</script>
